#ifndef _APPLICATION_H_H_
#define _APPLICATION_H_H_

#include "Menu.h"
#include <windows.h>
#include <conio.h>
#include <iostream>
#include "rectangleH.h"
#include "LinkListRectangleH.h"

class Application
{
	Menu generalMenu, rectangleMenu;
	int choiceG, choiceR;
	int defaultPainting;
	RectangleLinkList ListRectangle;

public:

	Application()
	{
		init();
	}
      
	void init();

	void applicationRun();

	void AppGeneralFirstChoice();

	void AppGeneralSecondChoice();

	void AppGeneralThirdChoice();

	void AddGeneralFourthChoice();

	void Application::goMenuRectangle(Rectangl * r, int x, int y);

	void AppRectangleSecondChoice(Rectangl * r);

	void AppRectangleThirdChoice(Rectangl * r);
	
	void AppRectangleFourthChoice(Rectangl * r);

	void AppRectangleFifthChoice(Rectangl * r);

	void goAndDrawPointFromUser(int x, int y, char c);


};


#endif